package com.ebupt.migu.music.schedule.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2020/3/23
 */
@Getter
@Setter
@JacksonXmlRootElement(localName = "sendMessageReq")
public class SendMessageReq {
    /**
     * 发送消息用户标识，默认为-1标识系统。
     */
    @JacksonXmlProperty(localName = "userID")
    private String userID;
    /**
     * 接受消息的目标用户列表
     */
    @JacksonXmlProperty(localName = "targetIDList")
    private List<String> targetIDList;
    /**
     * 消息信息
     */
    @JacksonXmlProperty(localName = "messageInfo")
    private MessageInfo messageInfo;
    /**
     * 扩展信息
     */
    @JacksonXmlProperty(localName = "ext")
    private Map<String, String> ext;
}
